﻿namespace gui
{
	using System.Collections.ObjectModel;

	public partial class EventListView
	{
		public EventListView()
		{
			InitializeComponent();

			SetupDesignTimeModel();
		}

		private void SetupDesignTimeModel()
		{
			var listEvents = new ObservableCollection<IEvent>();

			listEvents.Add(new Event(null, "1", false, true, 1, "Network", "Event Name", "Message >> Blah blah.."));
            listEvents.Add(new Event(null, "2", false, true, 2, "Network", "Event Name", "Message >> Blah blah.."));
            listEvents.Add(new Event(null, "3", false, true, 3, "Network", "Event Name", "Message >> Blah blah.."));

			DataContext = new EventList {ListEvents = listEvents};
		}
	}
}